package com.untrance.shop.core.dao;

import java.util.List;

import com.google.appengine.api.datastore.Key;
import com.untrance.shop.model.Category;

/**
 * @author eugene zadyra
 */
public interface CategoryDao extends MainDao<Category> {
	
	List<Category> findChildrenByParentCategoryKey(Key key);
	List<Key> findChildrenKeysByParentCategoryKey(Key key);
	Key findParentKeyByChildCategoryKey(Key key);
	List<Category> findFirstLevelCategory();

}
